package com.hutao.sso.mapper.newAuthority;

import java.util.List;
import java.util.Map;

import com.hutao.sso.pojo.newAuthority.UserHospitals;

public interface UserHospitalsMapper {
    public List<UserHospitals> findUserHospitalsListPage(Map<String, Object> params);
    
    public long findUserHospitalsCount(Map<String, Object> params);
    
    public int saveUserHospitals(UserHospitals userHospitals);
    
    //一个app下账号不能重复
    public long findUserHospitalsByLoginNameAndMedicalMainstayId(Map<String, Object> params);
	
    public int updateUserHospitalByIsAcvicateAndId(Map<String, Object> params);
    
    //修改密码
    public int updatePasswordById(Map<String, Object> params);
    
    //修改用户名称
    public int updateUserNameAndOfficeCodeById(Map<String, Object> params);
}